package com.baiqian.doupo.particle;

import com.mojang.serialization.Codec;
import net.minecraft.particles.ParticleType;
import net.minecraft.util.math.vector.Vector3d;

import java.awt.*;

public class DouQiParticleType extends ParticleType<DouQiParticleData> {
    public DouQiParticleType() {
//第一参数是用来控制粒子效果在视角看不到的时候会不会渲染
        super(true, DouQiParticleData.DESERIALIZER);
    }

    @Override
    public Codec<DouQiParticleData> func_230522_e_() {
        return Codec.unit(new DouQiParticleData(new Vector3d(0, 0, 0), new Color(0), 0));
    }
}
